package ooday03;

public class Test {
    public static void main(String[] args) {
        Director pea=new Director("张三",30,30000);
        pea.goWork();
        pea.offWork();
        pea.finishWork();
        pea.solveProblem();
        pea.train();
        pea.writeBook();

        Manage manage=new Manage("李四",28,20000);
        manage.goWork();
        manage.offWork();
        manage.finishWork();
        manage.writeBook();

        Teacher teacher=new Teacher("王五",25,15000);
        teacher.goWork();
        teacher.offWork();
        teacher.finishWork();
        teacher.solveProblem();
        teacher.train();
        teacher.writeBook();

        Monitor monitor=new Monitor("孙二",26,10000);
        monitor.goWork();
        monitor.offWork();
        monitor.finishWork();
    }
}